package responsiblechain;

import java.math.BigDecimal;

public class CEOHandler implements Handler {
    @Override
    public Boolean process(Request request) {
        if (request == null) {
            return false;
        }
        if (request.getAmount().compareTo(BigDecimal.valueOf(1000)) > 0) {
            return false;
        }
        return true;
    }
}